package org.jeecg.modules.basic.guest.entity;


import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 外来人员管理
 * @Author: jeecg-boot
 * @Date:   2021-03-29
 * @Version: V1.0
 */
@Data
@TableName("lwgy_inout_guest")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="lwgy_inout_guest对象", description="外来人员管理")
public class LwgyInoutGuest implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**访客姓名*/
	@Excel(name = "访客姓名", width = 15)
    @ApiModelProperty(value = "访客姓名")
    private String guestName;
	/**访客照片*/
	@Excel(name = "访客照片", width = 15)
    @ApiModelProperty(value = "访客照片")
    private String guestPhoto;
	/**访客手机*/
	@Excel(name = "访客手机", width = 15)
    @ApiModelProperty(value = "访客手机")
    private String guestMobile;
	/**访客备注*/
	@Excel(name = "访客备注", width = 15)
    @ApiModelProperty(value = "访客备注")
    private String guestRemark;
    /**访客组id*/
    @Excel(name = "访客组id", width = 15)
    @ApiModelProperty(value = "访客组id")
    private java.lang.String guestGroupid;
	/**访客组*/
	@Excel(name = "访客组", width = 15)
    @ApiModelProperty(value = "访客组")
    private String guestGroups;
	/**身份证号*/
	@Excel(name = "身份证号", width = 15)
    @ApiModelProperty(value = "身份证号")
    private String guestIdcard;
	/**被访人id*/
	@Excel(name = "被访人id", width = 15)
    @ApiModelProperty(value = "被访人id")
    private String receptionUserid;
	/**被访人姓名*/
	@Excel(name = "被访人姓名", width = 15)
    @ApiModelProperty(value = "被访人姓名")
    private String receptionName;
	/**来访时间*/
	@Excel(name = "来访时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "来访时间")
    private Date guestTime;
    /**来访结束时间*/
    @Excel(name = "离开时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "离开时间")
    private Date toTime;
	/**访客性别*/
	@Excel(name = "访客性别", width = 15, dicCode = "sex")
	@Dict(dicCode = "sex")
    @ApiModelProperty(value = "访客性别")
    private String guestGender;
	/**所属公司*/
	@Excel(name = "所属公司", width = 15)
    @ApiModelProperty(value = "所属公司")
    private String guestConpany;
	/**访客职位*/
	@Excel(name = "访客职位", width = 15)
    @ApiModelProperty(value = "访客职位")
    private String guestPosition;
	/**来访目的*/
	@Excel(name = "来访目的", width = 15)
    @ApiModelProperty(value = "来访目的")
    private String guestPurpose;
	/**登记时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "登记时间")
    private Date createTime;
	/**审批状态*/
	@Excel(name = "审批状态", width = 15, dicCode = "guest_state")
    @Dict(dicCode = "guest_state")
    @ApiModelProperty(value = "审批状态")
    private String state;
    /**对接id*/
    @Excel(name = "第三方id", width = 15)
    @ApiModelProperty(value = "第三方id")
    private String guestId;
    /**访客状态 0正常，1已过期*/
    @Excel(name = "访客状态", width = 15)
    @ApiModelProperty(value = "访客状态")
    private String guestState;

}
